
#include <windows.h>
#include <stdio.h>

#include "HumbleCore_Win32DLLManager.h"

Win32_DLLManager* gWin32DLLManager  = NULL;

// DLL entry function (called on load, unload, ...)
BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved)
{
    return TRUE;
}


// Exported function - adds two numbers
__declspec(dllexport) Humble_DLLManager* GetRenderContext()
{
	if( gWin32DLLManager == NULL)
	{
		// Create Context.
		gWin32DLLManager = new Win32_DLLManager();
	}
    return gWin32DLLManager;
}